home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 22
/
Aminet 22 (1997)(GTI - Schatztruhe)[!][Dec 1997].iso
/
Aminet
/
biz
/
dbase
/
AmigaBase25.lha
/
AmigaBase
/
BUGS
< prev
next >
Wrap
Text File
|
1996-04-15
|
2KB
|
46 lines
Known Bugs:
===========
AmigaBase functions like BOLD OFF, ITALIC OFF, etc. don't work with the
"CON:" device under OS 1.3 because "CON:" only recognizes the NORMAL
escape sequence.
If you enter a value of 3 for the memo height you will get a real height
of 4 lines. This is because (3*(fh+2+2) - 2 - 2) / fh is 4
(fh is the font height, e.g. 8).
When programming recursive functions you can't call a recursive function
in a sub expression, otherwise you will get wrong results, e.g. if you have
a function called _Fib which takes one integer argument and returns an integer
value, the following code will return wrong results:
BEGIN
IF arg1 < 2 THEN
RETURN 1;
ELSE
RETURN (_Fib(arg1 - 1) + _Fib(arg1 - 2)); # _Fib in a sub expression
END
END
However the following code works:
VAR i, j: INTEGER;
BEGIN
IF arg1 < 2 THEN
RETURN 1;
ELSE
i := _Fib(arg1 - 1); # _Fib not in a sub expression
j := _Fib(arg1 - 2); # _Fib not in a sub expression
RETURN (i + j);
END
END
Thanks to Petra Mössner for showing how complex this problem is.
Do not use the CALL function to send an ARexx command to the
AmigaBase ARexx port or AmigaBase will hang. E.g. if you use
CALL("REXX:rx \"ADDRESS 'REXX_AB1' SAVE\"") for saving the
current project it won't work (and AmigaBase will hang).
This is because ARexx commands are only processed when AmigaBase
is in its idle state and this will never happen because AmigaBase
waits on the CALL command to finish.
However for solving the above problem you can launch a background
task by writing CALL("C:RUN >NIL: REXX:rx \"ADDRESS 'REXX_AB1' SAVE\"").